package cn.edu.qfnu.oj.dao;

import cn.edu.qfnu.common.dao.BaseDao;
import cn.edu.qfnu.common.exception.db.NoRecordFoundException;
import cn.edu.qfnu.oj.entity.Teacher;

/**
 * OnlineJudge of QF_NU
 * Created by LS on 2017/7/17.
 */

/*
 *
 */
public interface TeacherDao extends BaseDao<Teacher, String> {

    Teacher loginCheck(String username)
            throws NoRecordFoundException;

    boolean isExist(String studentId, String email);

    void create (Object object);

    void modify (Object object0);

    void delete (Object object);

}
